package com.itheima.HomeWork.homework06;

public interface Vehicle {
    void start();

    void stop();
}

class Bike implements Vehicle {
    @Override
    public void start() {
        System.out.println("自行车开始行使，加速很慢。");
    }

    @Override
    public void stop() {
        System.out.println("自行车停止行使，刹车很稳。");
    }
}

class Bus implements Vehicle{
    @Override
    public void start() {
        System.out.println("汽车开始行使，加速飕飕的。");
    }

    @Override
    public void stop() {
        System.out.println("汽车停止行使，刹车有点飘哦。");
    }
}